package 实现线程.Test03;

import java.util.concurrent.Callable;

public class MyCallable implements Callable<Integer> {
    @Override
    public Integer call() throws Exception {
        System.out.println("call method begin");
        Thread.sleep(1000 * 3);
        System.out.println("call method over");
        int i = 250;
        int a = 270;
        return i + a;
    }
}
